1
general::
Phrase(s): peg someone as something [and] have someone pegged as something
to think of someone in a certain way. • Susan pegged the new employee as a lazy worker. • I had you pegged as an angry rebel before I got to know you.
McGrawhill's American Idioms And Phrasal Verbs